package com.tianyi.dao.entity.company;

import java.io.Serializable;
import java.util.Date;

public class Company implements Serializable {
    /**
     * id
     * 表字段 ：id
     *
     * @mbg.generated Fri May 08 00:28:32 CST 2020
     */
    private Long id;

    /**
     * gmt_create
     * 表字段 ：gmt_create
     *
     * @mbg.generated Fri May 08 00:28:32 CST 2020
     */
    private Date gmtCreate;

    /**
     * gmt_ modified
     * 表字段 ：gmt_ modified
     *
     * @mbg.generated Fri May 08 00:28:32 CST 2020
     */
    private Date gmtModified;

    /**
     * 公司名称
     * 表字段 ：com_name
     *
     * @mbg.generated Fri May 08 00:28:32 CST 2020
     */
    private String comName;

    /**
     * 公司电话
     * 表字段 ：com_tel
     *
     * @mbg.generated Fri May 08 00:28:32 CST 2020
     */
    private String comTel;

    /**
     * 关联id
     * 表字段 ：com_user_id
     *
     * @mbg.generated Fri May 08 00:28:32 CST 2020
     */
    private Long comUserId;

    /**
     * 用户详细信息
     * 表字段 ：com_location_detail
     *
     * @mbg.generated Fri May 08 00:28:32 CST 2020
     */
    private String comLocationDetail;

    /**
     * 公司地址
     * 表字段 ：com_location
     *
     * @mbg.generated Fri May 08 00:28:32 CST 2020
     */
    private String comLocation;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table company
     *
     * @mbg.generated Fri May 08 00:28:32 CST 2020
     */
    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table company
     *
     * @mbg.generated Fri May 08 00:28:32 CST 2020
     */
    public Company withId(Long id) {
        this.setId(id);
        return this;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table company
     *
     * @mbg.generated Fri May 08 00:28:32 CST 2020
     */
    public Company withGmtCreate(Date gmtCreate) {
        this.setGmtCreate(gmtCreate);
        return this;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table company
     *
     * @mbg.generated Fri May 08 00:28:32 CST 2020
     */
    public Company withGmtModified(Date gmtModified) {
        this.setGmtModified(gmtModified);
        return this;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public String getComName() {
        return comName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table company
     *
     * @mbg.generated Fri May 08 00:28:32 CST 2020
     */
    public Company withComName(String comName) {
        this.setComName(comName);
        return this;
    }

    public void setComName(String comName) {
        this.comName = comName == null ? null : comName.trim();
    }

    public String getComTel() {
        return comTel;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table company
     *
     * @mbg.generated Fri May 08 00:28:32 CST 2020
     */
    public Company withComTel(String comTel) {
        this.setComTel(comTel);
        return this;
    }

    public void setComTel(String comTel) {
        this.comTel = comTel == null ? null : comTel.trim();
    }

    public Long getComUserId() {
        return comUserId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table company
     *
     * @mbg.generated Fri May 08 00:28:32 CST 2020
     */
    public Company withComUserId(Long comUserId) {
        this.setComUserId(comUserId);
        return this;
    }

    public void setComUserId(Long comUserId) {
        this.comUserId = comUserId;
    }

    public String getComLocationDetail() {
        return comLocationDetail;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table company
     *
     * @mbg.generated Fri May 08 00:28:32 CST 2020
     */
    public Company withComLocationDetail(String comLocationDetail) {
        this.setComLocationDetail(comLocationDetail);
        return this;
    }

    public void setComLocationDetail(String comLocationDetail) {
        this.comLocationDetail = comLocationDetail == null ? null : comLocationDetail.trim();
    }

    public String getComLocation() {
        return comLocation;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table company
     *
     * @mbg.generated Fri May 08 00:28:32 CST 2020
     */
    public Company withComLocation(String comLocation) {
        this.setComLocation(comLocation);
        return this;
    }

    public void setComLocation(String comLocation) {
        this.comLocation = comLocation == null ? null : comLocation.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table company
     *
     * @mbg.generated Fri May 08 00:28:32 CST 2020
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", gmtCreate=").append(gmtCreate);
        sb.append(", gmtModified=").append(gmtModified);
        sb.append(", comName=").append(comName);
        sb.append(", comTel=").append(comTel);
        sb.append(", comUserId=").append(comUserId);
        sb.append(", comLocationDetail=").append(comLocationDetail);
        sb.append(", comLocation=").append(comLocation);
        sb.append("]");
        return sb.toString();
    }
}